package com.project.demo.entity;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.*;

import java.io.Serializable;
import java.sql.Timestamp;


/**
 * 风险登记：(RiskRegistration)表实体类
 *
 */
@TableName("`risk_registration`")
@Data
@EqualsAndHashCode(callSuper = false)
public class RiskRegistration implements Serializable {

    // RiskRegistration编号
    @TableId(value = "risk_registration_id", type = IdType.AUTO)
    private Integer risk_registration_id;

    // 登记账户
    @TableField(value = "`register_account`")
    private Integer register_account;
    // 用户姓名
    @TableField(value = "`user_name`")
    private String user_name;
    // 项目编号
    @TableField(value = "`project_number`")
    private String project_number;
    // 项目名称
    @TableField(value = "`entry_name`")
    private String entry_name;
    // 项目经理
    @TableField(value = "`project_manager`")
    private Integer project_manager;
    // 发生概率
    @TableField(value = "`probability_of_occurrence`")
    private String probability_of_occurrence;
    // 影响程度
    @TableField(value = "`degree_of_impact`")
    private String degree_of_impact;
    // 登记日期
    @TableField(value = "`registration_date`")
    private Timestamp registration_date;
    // 风险描述
    @TableField(value = "`risk_description`")
    private String risk_description;




















								// 来源表
	@TableField(value = "source_table")
	private String source_table;
	
	// 来源ID
	@TableField(value = "source_id")
	private Integer source_id;
	
	// 来源用户ID
	@TableField(value = "source_user_id")
	private Integer source_user_id;
		


	// 更新时间
    @TableField(value = "update_time")
    private Timestamp update_time;

    // 创建时间
    @TableField(value = "create_time")
    private Timestamp create_time;

}
